package com.my.service;


import com.my.bean.User;
import com.my.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: marshal
 * @date: 2023-05-15 15:28
 */
@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public List<User> findUsers() {
        return userDao.findUserList();
    }
}
